projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abe4829
)
Request the right attributes in the simple search engine
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 18 Jun 2015 18:37:23 +0000
(14:37 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 18 Jun 2015 18:37:23 +0000
(14:37 -0400)
This change makes it so that the file info passed along
from the simple search engine has all the attributes that
the file system model wants.
gtk/gtksearchenginesimple.c
patch
|
blob
|
history
diff --git
a/gtk/gtksearchenginesimple.c
b/gtk/gtksearchenginesimple.c
index 3b1381cd03852dbae56b2218b4cb3a92e0686a96..fc33c4ba274327739c9c2a994e43f15082d47d41 100644
(file)
--- a/
gtk/gtksearchenginesimple.c
+++ b/
gtk/gtksearchenginesimple.c
@@
-189,7
+189,11
@@
visit_directory (GFile *dir, SearchThreadData *data)
G_FILE_ATTRIBUTE_STANDARD_NAME ","
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
G_FILE_ATTRIBUTE_STANDARD_TYPE ","
- G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN,
+ G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
+ G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP ","
+ G_FILE_ATTRIBUTE_STANDARD_SIZE ","
+ G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE ","
+ G_FILE_ATTRIBUTE_TIME_MODIFIED,
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
data->cancellable, NULL);
if (enumerator == NULL)